package com.wuliupai.delivery.wuliupaidelivery.bean;

import android.content.Context;

import java.util.List;

/**
 * 银行卡
 *
 * @author 康慧丽
 * @邮箱：khl8912@126.com
 * @时间：2015-9-15下午3:02:21
 */
public class WalletEntity extends BaseBean {

    private String errorCode;
    private String cardNumber;// 银行卡号
    private String cardName;// 持卡人姓名
    private String bankId;// 银行对应编号
    private String statusCode;// 密码设置状态（0、未设置1、已设置）statusCode
    private String oldPassword;// 用户的老密码，如果是初始设置，传空
    private String newPassword;// 用户的新密码
    private int s_i; //开始位置
    private int count; //获取多少条
    private String getMoney;// 需要提现的金额
    private String payPassword;// 提现密码
    private String dealObject;// （提现传4，司机会员传5，企业会员传6）
    private String totalMoney; //余额
    /**
     * dealObject : 系统奖励
     * money : 100000000
     * submitTime : 2016-12-22 11:14
     */

    private List<InfolistBean> infolist;


    /**
     * dealTime : 2016-08-17 18:56
     * money : -10
     * describe : 保险
     */

    public WalletEntity(Context context) {
        super(context);
    }

    public WalletEntity(Context context,int s_i,int count) {
        super(context);
        this.s_i = s_i;
        this.count = count;
    }

    public WalletEntity(String cardNumber, String cardName, String bankId){
        this.cardNumber = cardNumber;
        this.cardName = cardName;
        this.bankId = bankId;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getCardName() {
        return cardName;    }

                public void setCardName(String cardName) {

        this.cardName = cardName;
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public int getS_i() {
        return s_i;
    }

    public void setS_i(int s_i) {
        this.s_i = s_i;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getGetMoney() {
        return getMoney;
    }

    public void setGetMoney(String getMoney) {
        this.getMoney = getMoney;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public String getDealObject() {
        return dealObject;
    }

    public void setDealObject(String dealObject) {
        this.dealObject = dealObject;
    }

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney;
    }

    public List<InfolistBean> getInfolist() {
        return infolist;
    }

    public void setInfolist(List<InfolistBean> infolist) {
        this.infolist = infolist;
    }

    public static class InfolistBean {
        private String dealObject; //系统奖励
        private String money; //100000000
        private String submitTime; //2016-12-22 11:14

        public String getDealObject() {
            return dealObject;
        }

        public void setDealObject(String dealObject) {
            this.dealObject = dealObject;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getSubmitTime() {
            return submitTime;
        }

        public void setSubmitTime(String submitTime) {
            this.submitTime = submitTime;
        }
    }
}